import { z } from '@hono/zod-openapi'

export const RequestUserSchema = z.object({
    name: z.string().openapi({ description: 'The name of the user' }),
})

export const ResponseUserSchema = z.array(z.object({
    id: z.number().min(3).openapi({ description: 'The unique identifier for the user'}),
    name: z.string().openapi({ description: 'The name of the user' }),
    email: z.string().openapi({ description: 'The email address of the user' }),
}))
